﻿<Application   
  x:Class="SoftwareLogistics.SharepointClient.Silverlight.App"
  xmlns:my="clr-namespace:SoftwareLogistics.SharepointClient.Controls;assembly=SoftwareLogistics.SharepointClient.Library"                 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Application.Resources>
        <ResourceDictionary>
            <Color x:Key="ForegroundColor">#FF717F8A</Color>
            <SolidColorBrush x:Key="ForegroundBrush" Color="{StaticResource ForegroundColor}"></SolidColorBrush>
            <Style x:Key="FormLabel" TargetType="TextBlock">
                <Setter Property="FontSize" Value="12" />
                <Setter Property="Foreground" Value="{StaticResource ForegroundColor}" />
                <Setter Property="Margin" Value="12,0,0,0" />
            </Style>
            <Style x:Key="LoginFormLabel" TargetType="TextBlock" BasedOn="{StaticResource FormLabel}">
                <Setter Property="Margin" Value="12,14,0,0" />
            </Style>
            <Style x:Key="FormButton" TargetType="Button">
                <Setter Property="Width" Value="180" />
                <Setter Property="Height" Value="40" />
            </Style>            

            <Style x:Key="FormBorder" TargetType="Border">
                <Setter Property="CornerRadius" Value="20" />
                <Setter Property="BorderBrush" Value="{StaticResource ForegroundBrush}" />
                <Setter Property="BorderThickness" Value="3" />
            </Style>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Assets/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

</Application>